<html>
<head>
<title>Docs For Class CurlRequest</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">default</td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                    
                              		  [ <a href="../classtrees_default.html" class="menu">class tree: default</a> ]
		  [ <a href="../elementindex_default.html" class="menu">index: default</a> ]
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../li_default.html">default</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../default/_ACS---Authentication.php.html">		Authentication.php
		</a><br>
			<a href="../default/_ServiceBus---constants.inc.html">		constants.inc
		</a><br>
			<a href="../default/_util---curlRequest.php.html">		curlRequest.php
		</a><br>
			<a href="../default/_DotNetServicesEnvironment.php.html">		DotNetServicesEnvironment.php
		</a><br>
			<a href="../default/_util---HttpHelper.php.html">		HttpHelper.php
		</a><br>
			<a href="../default/_util---HttpWebProxy.php.html">		HttpWebProxy.php
		</a><br>
			<a href="../default/_util---LoggerClass.php.html">		LoggerClass.php
		</a><br>
			<a href="../default/_ServiceBus---MessageBufferClient.php.html">		MessageBufferClient.php
		</a><br>
			<a href="../default/_ServiceBus---MessageBufferPolicy.php.html">		MessageBufferPolicy.php
		</a><br>
			<a href="../default/_ACS---SAML.php.html">		SAML.php
		</a><br>
			<a href="../default/_ACS---Scope.php.html">		Scope.php
		</a><br>
			<a href="../default/_ServiceBus---ServiceBusConfig.php.html">		ServiceBusConfig.php
		</a><br>
			<a href="../default/_ACS---SharedSecret.php.html">		SharedSecret.php
		</a><br>
			<a href="../default/_ACS---SimpleApiAuthService.php.html">		SimpleApiAuthService.php
		</a><br>
			<a href="../default/_ACS---SWT.php.html">		SWT.php
		</a><br>
			<a href="../default/_ACS---TokenValidator.php.html">		TokenValidator.php
		</a><br>
			<a href="../default/_util---ValidateClaimUtil.php.html">		ValidateClaimUtil.php
		</a><br>
	  </div><br />
      
      
            <b>Classes:</b><br />
        <div class="package">
		    		<a href="../default/Authentication.html">Authentication</a><br />
	    		<a href="../default/CurlRequest.html">CurlRequest</a><br />
	    		<a href="../default/DotNetServicesEnvironment.html">DotNetServicesEnvironment</a><br />
	    		<a href="../default/HttpHelper.html">HttpHelper</a><br />
	    		<a href="../default/HttpWebProxy.html">HttpWebProxy</a><br />
	    		<a href="../default/LoggerClass.html">LoggerClass</a><br />
	    		<a href="../default/MessageBufferClient.html">MessageBufferClient</a><br />
	    		<a href="../default/MessageBufferPolicy.html">MessageBufferPolicy</a><br />
	    		<a href="../default/SAML.html">SAML</a><br />
	    		<a href="../default/Scope.html">Scope</a><br />
	    		<a href="../default/ServiceBusConfig.html">ServiceBusConfig</a><br />
	    		<a href="../default/SharedSecret.html">SharedSecret</a><br />
	    		<a href="../default/SimpleApiAuthService.html">SimpleApiAuthService</a><br />
	    		<a href="../default/SWT.html">SWT</a><br />
	    		<a href="../default/TokenValidator.html">TokenValidator</a><br />
	    		<a href="../default/ValidateClaimUtil.html">ValidateClaimUtil</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: CurlRequest</h1>
Source Location: /util/curlRequest.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre></pre><br />
<div class="description">Class CurlRequest for send HTTP request using curl</div><br /><br />
<h4>Author(s):</h4>
<ul>
        </ul>




    

        
</td>

<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
    <li><a href="../default/CurlRequest.html#var$followLocation">$followLocation</a></li>
    <li><a href="../default/CurlRequest.html#var$Header">$Header</a></li>
    <li><a href="../default/CurlRequest.html#var$httpHeaders">$httpHeaders</a></li>
    <li><a href="../default/CurlRequest.html#var$httpVerb">$httpVerb</a></li>
    <li><a href="../default/CurlRequest.html#var$postFields">$postFields</a></li>
    <li><a href="../default/CurlRequest.html#var$putFields">$putFields</a></li>
    <li><a href="../default/CurlRequest.html#var$returnTransfer">$returnTransfer</a></li>
    <li><a href="../default/CurlRequest.html#var$url">$url</a></li>
    <li><a href="../default/CurlRequest.html#var$varifyTransfer">$varifyTransfer</a></li>
    <li><a href="../default/CurlRequest.html#var$_httpWebProxy">$_httpWebProxy</a></li>
  </ul>
</td>


<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../default/CurlRequest.html#method__construct">__construct</a></li>
    <li><a href="../default/CurlRequest.html#method__destruct">__destruct</a></li>
    <li><a href="../default/CurlRequest.html#methodclose">close</a></li>
    <li><a href="../default/CurlRequest.html#methodgetErrorNo">getErrorNo</a></li>
    <li><a href="../default/CurlRequest.html#methodgetInfo">getInfo</a></li>
    <li><a href="../default/CurlRequest.html#methodinit">init</a></li>
    <li><a href="../default/CurlRequest.html#methodprocess">process</a></li>
    <li><a href="../default/CurlRequest.html#methodsetHttpWebProxy">setHttpWebProxy</a></li>
    <li><a href="../default/CurlRequest.html#methodsetOption">setOption</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>






</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line 31]<br />
Class CurlRequest for send HTTP request using curl<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />

<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
	<a name="var$followLocation"></a>
	<p></p>
	<h4>$followLocation = <span class="value">&nbsp;true</span></h4>
	<p>[line 55]</p>
  Whether or not to follow HTTP Location headers.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>boolean</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$Header"></a>
	<p></p>
	<h4>$Header = <span class="value">&nbsp;false</span></h4>
	<p>[line 47]</p>
  Whether or not to include header in the response  of the cURL request<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>boolean</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$httpHeaders"></a>
	<p></p>
	<h4>$httpHeaders = <span class="value">&nbsp;null</span></h4>
	<p>[line 91]</p>
  Custom HTTP headers to send to the url<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>array</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$httpVerb"></a>
	<p></p>
	<h4>$httpVerb = <span class="value"></span></h4>
	<p>[line 83]</p>
  The type of transfer to perform (ie. 'POST', 'GET', 'PUT' or 'DELETE' )<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$postFields"></a>
	<p></p>
	<h4>$postFields = <span class="value"></span></h4>
	<p>[line 100]</p>
  The fields to send in a 'POST' request.it needs to be passed as a  urlencoded string like 'para1=val1&amp;para2=val2&amp;...'<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>String</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$putFields"></a>
	<p></p>
	<h4>$putFields = <span class="value"></span></h4>
	<p>[line 108]</p>
  The fields to send in a 'PUT' request.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>String</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$returnTransfer"></a>
	<p></p>
	<h4>$returnTransfer = <span class="value">&nbsp;true</span></h4>
	<p>[line 65]</p>
  Whether or not to return the results of the  current transfer<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>boolean</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$url"></a>
	<p></p>
	<h4>$url = <span class="value"></span></h4>
	<p>[line 39]</p>
  The URL to which cURL request needs to be sent<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>string</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$varifyTransfer"></a>
	<p></p>
	<h4>$varifyTransfer = <span class="value">&nbsp;false</span></h4>
	<p>[line 75]</p>
  Whether or not to varify SSL<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>boolean</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
	<a name="var$_httpWebProxy"></a>
	<p></p>
	<h4>$_httpWebProxy = <span class="value"></span></h4>
	<p>[line 119]</p>
  The proxy server to go through<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>

  <br />
	<div class="tags">
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><b>Type:</b>&nbsp;&nbsp;</td>
      <td>object</td>
    </tr>
      </table>
	</div><br /><br />
	<div class="top">[ <a href="#top">Top</a> ]</div><br />
</div><br />

<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="method__construct"></a>
	<h3>constructor __construct <span class="smalllinenumber">[line 142]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void __construct(
[string
$url = ''])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		The CurlRequest constructor, called when a new CurlRequest object  is initialized<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$url</b>&nbsp;&nbsp;</td>
        <td>The URL to send cURL request to (can be set using the $url                           property too)</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="method__destruct"></a>
	<h3>destructor __destruct <span class="smalllinenumber">[line 410]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void __destruct(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Destructor.<br /><br /><p>Runs CurlRequest::close() to close our cURL connection.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td><a href="../default/CurlRequest.html#methodclose">CurlRequest::close()</a></td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodclose"></a>
	<h3>method close <span class="smalllinenumber">[line 395]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void close(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Closes the cURL request handle<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetErrorNo"></a>
	<h3>method getErrorNo <span class="smalllinenumber">[line 363]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>String getErrorNo(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the curl error number from the cURL session. error if you try and run  this before you process the session.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>error if there is no resource, error number on success</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetInfo"></a>
	<h3>method getInfo <span class="smalllinenumber">[line 347]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>mixed getInfo(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Returns the info from the cURL session. error if you try and run  this before you process the session.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>error if there is no resource, info on success</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodinit"></a>
	<h3>method init <span class="smalllinenumber">[line 375]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>boolean init(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Initiates a cURL resource. If curl_init() doesn't exist or initiation fails  an error is returned.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>TRUE on success, error on failure</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodprocess"></a>
	<h3>method process <span class="smalllinenumber">[line 174]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>error process(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		processs a prepared CURL transfer<br /><br /><p>Run this function to process the cURL request. On success response is returned  and an error is returned if something fails</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>return:</b>&nbsp;&nbsp;</td><td>on failure, response on success</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetHttpWebProxy"></a>
	<h3>method setHttpWebProxy <span class="smalllinenumber">[line 158]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void setHttpWebProxy(
object
$httpWebProxy)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets proxy details for the cURL transfer. This uses object of class httpWebProxy  with proxy values like host,port and password<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>see:</b>&nbsp;&nbsp;</td><td>httpWebProxy</td>
  </tr>
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">object&nbsp;&nbsp;</td>
        <td><b>$httpWebProxy</b>&nbsp;&nbsp;</td>
        <td>object of httpWebProxy class</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodsetOption"></a>
	<h3>method setOption <span class="smalllinenumber">[line 331]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>boolean setOption(
int
$option, mixed
$value)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sets an option for your cURL session. Please note that the cURL handler  is NOT initiated before process(). This is for error checking purposes.<br /><br /><p>You should use setOption() in the following manner:</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">int&nbsp;&nbsp;</td>
        <td><b>$option</b>&nbsp;&nbsp;</td>
        <td>cURL constant (ie. CURLOPT_URL)</td>
      </tr>
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$value</b>&nbsp;&nbsp;</td>
        <td>The option's value</td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Sat, 07 Nov 2009 01:40:48 +0000 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>